package com.huawei.appmarket.service.usercenter.personal.view.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import com.huawei.appmarket.service.usercenter.personal.view.card.PersonalInfoOverseaCard;
import o.cht;
import o.cih;
import o.der.g;
import o.epr;

public class PersonalInfoOverseaNode extends cht {
    public PersonalInfoOverseaNode(Context context) {
        super(context, 1);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -1);
        View view = (ViewGroup) LayoutInflater.from(this.ॱ).inflate(ˎ(), null);
        cih personalInfoOverseaCard = new PersonalInfoOverseaCard(this.ॱ);
        personalInfoOverseaCard.ˏ(view);
        ˊ(personalInfoOverseaCard);
        viewGroup.addView(view, layoutParams);
        return true;
    }

    protected int ˎ() {
        int i = g.ˈ;
        if (epr.ˎ().ॱॱ()) {
            return g.ʽॱ;
        }
        return i;
    }
}
